package org.example.springblogdemo.service;

import jakarta.validation.constraints.NotNull;
import org.example.springblogdemo.pojo.request.UserLoginRequest;
import org.example.springblogdemo.respone.UserInfoResponse;
import org.example.springblogdemo.respone.UserLoginResponse;

public interface UserService {
    UserLoginResponse check(UserLoginRequest userLoginRequest);

    UserInfoResponse getUserInfo(@NotNull Integer userId);

    UserInfoResponse getAuthorInfo(@NotNull Integer blogId);
}
